package com.xjl.meituwidget;

import android.app.Application;

import com.xujl.task.RxExecutor;

public class App extends Application {
    private static App sApp;

    @Override
    public void onCreate () {
        super.onCreate();
        sApp = this;
        RxExecutor.getInstance().init();
        RxExecutor.getInstance().setDebug(false);
        SpHelper.getInstance().init(this, MainActivity.SP_NAME, MODE_PRIVATE);
    }

    public static App getApp () {
        return sApp;
    }
}
